[{"id":"c6687cbd705a9ee6","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"80dda8e1dbae8f9e","type":"webhook out","z":"c6687cbd705a9ee6","name":"","x":910,"y":140,"wires":[]},{"id":"ae992c7104760820","type":"webhook in","z":"c6687cbd705a9ee6","name":"","url":"/answer","method":"post","x":170,"y":140,"wires":[["966a8333cc2df6a0"]]},{"id":"966a8333cc2df6a0","type":"say","z":"c6687cbd705a9ee6","name":"","text":"Hello, your call is being placed into a queue.","early":false,"loop":1,"vendor":"default","lang":"default","xlang":"default","voice":"default","xvoice":"default","x":390,"y":140,"wires":[["b4bf2e128be393a1"]]},{"id":"b4bf2e128be393a1","type":"enqueue","z":"c6687cbd705a9ee6","name":"","queue":"testqueue","queueType":"str","actionHook":"","actionHookType":"str","waitHook":"/wait","waitHookType":"str","x":600,"y":140,"wires":[["80dda8e1dbae8f9e"]]},{"id":"6f7506f616e2b35e","type":"webhook in","z":"c6687cbd705a9ee6","name":"","url":"/wait","method":"post","x":180,"y":220,"wires":[["9f87c66cddde90c0"]]},{"id":"df44bbb04ed38a25","type":"webhook out","z":"c6687cbd705a9ee6","name":"","x":890,"y":220,"wires":[]},{"id":"a537510c9c14fd5b","type":"webhook out","z":"c6687cbd705a9ee6","name":"","x":830,"y":380,"wires":[]},{"id":"9f87c66cddde90c0","type":"play","z":"c6687cbd705a9ee6","name":"","url":"https://example.com/opus1.mp3","urlType":"str","early":false,"loop":"1","x":390,"y":220,"wires":[["c35c9bce3622a919"]]},{"id":"1eda6dab5502deec","type":"webhook in","z":"c6687cbd705a9ee6","name":"","url":"/agent","method":"post","x":190,"y":380,"wires":[["fe466a811ca4ed78"]]},{"id":"fe466a811ca4ed78","type":"dequeue","z":"c6687cbd705a9ee6","name":"","queue":"testqueue","queueType":"str","actionHook":"","actionHookType":"str","confirmHook":"","confirmHookType":"str","beep":true,"timeout":"","timeoutType":"num","x":420,"y":380,"wires":[["b349d4de4e105c30"]]},{"id":"b349d4de4e105c30","type":"redirect","z":"c6687cbd705a9ee6","name":"","hook":"/agent","hookType":"str","x":600,"y":380,"wires":[["a537510c9c14fd5b"]]},{"id":"5ca895fc36f2d22c","type":"comment","z":"c6687cbd705a9ee6","name":"Calls from end customers","info":"","x":190,"y":100,"wires":[]},{"id":"7c92a30cccbd048f","type":"comment","z":"c6687cbd705a9ee6","name":"Calls from agents","info":"","x":160,"y":340,"wires":[]},{"id":"f784cf7db6df9aa6","type":"comment","z":"c6687cbd705a9ee6","name":"","info":"When customer hangs up the agent will loop around and pickup another call from the queue","x":600,"y":340,"wires":[]},{"id":"c35c9bce3622a919","type":"say","z":"c6687cbd705a9ee6","name":"","text":"Your call is important to us, please continue to hold","early":false,"loop":1,"vendor":"default","lang":"default","xlang":"default","voice":"default","xvoice":"default","x":570,"y":220,"wires":[["df44bbb04ed38a25"]]}]